package com.autohammal.implement;

import java.util.List;

import org.eclipse.swt.widgets.Text;

import com.autohammal.ITask;
import com.autohammal.target.Target;
import com.autohammal.ui.frame.items.ItemDescriptor;

public class RunApplicationTarget extends Target {

	private static final long serialVersionUID = -7226038277660545654L;

	@Override
	public ItemDescriptor[] configurationDescriptors() {
		return new ItemDescriptor[] { ItemDescriptor.createItemDescriptor(
				RunApplicationTarget.class, "targetApp", String.class,
				new Object[] { ItemDescriptor.PROPERTYEDITORCLASS, Text.class,
						ItemDescriptor.DISPLAYNAME, "Application Path",
						ItemDescriptor.SHORTDESCRIPTION,
						"Target application you want to run path." }) };
	}

	@Override
	public ItemDescriptor[] inputDescriptors() {
		return new ItemDescriptor[] { ItemDescriptor.createItemDescriptor(
				RunApplicationTarget.class, "param1", String.class,
				new Object[] { ItemDescriptor.PROPERTYEDITORCLASS, Text.class,
						ItemDescriptor.DISPLAYNAME, "Param",
						ItemDescriptor.SHORTDESCRIPTION,
						"Target application you want to run param." }) };
	}

	@Override
	public ItemDescriptor[] outputDescriptors() {
		return null;
	}

	@Override
	public List<ITask> createTask() {
		return null;
	}

}
